<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OptionsPricing: models::Poisson2DFiniteDifference::Poisson2DFiniteDifference Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OptionsPricing
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>models</b>      </li>
      <li class="navelem"><b>Poisson2DFiniteDifference</b>      </li>
      <li class="navelem"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html">Poisson2DFiniteDifference</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference" -->
<p><a href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#ac585dea79f7256fefec51c716bce4ec1">__init__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#aae114553f4e217ff95716e0c06d11765">discretize</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#ad7c9f2390b43834f93c89e6284253e9b">get_discretized_bc</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#ac25ae4cc5647612813893dcfd98df398">get_indx_grid</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a63b57a290daf7f7f06550054aaeb8bb1">get_load</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a562f4485376749d89cb465f7ae2a69b9">get_mesh</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a2971e70feab948ffa2c573ce1fe6ac31">get_rhs</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#aba3d4b76d9c7f15f9f4193a67af6bd6e">post_process</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a6093f1f049af7d7604a30b82482430d6">reset_engine</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a6213e6fe184b260e108ceece27b1d74c">set_bott_top</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#ab271288fc08199e656dbd41ecfb736f6">set_continuos_load</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a165b420a3eee93ce1e366cce8e7a47f7">set_discrete_load</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a07b2bed580699c913df804984760778d">set_dx_dy</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a5ed8a680bbc70e476a1a17ba6ae4632a">set_simu_domain</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a032131b3687e8715b976800f754a88a0">set_up_engine</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a85ccb046fff0dc6fb7387306f6887d02">set_xlxr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1Poisson2DFiniteDifference_1_1Poisson2DFiniteDifference.html#a4ab69dead9d4d01010641193e3bb5699">solve</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><div class="fragment"><pre class="fragment">
  Solve Poisson equation in 2D using a five points stencil, FD scheme.
  We assume Dirichlet boundary conditions on the grid.
  Only Dirichlet because that's what we need for calibrating
  Volatility.

  Carl Charrella, Mark Craddock and Nadima El-Hassan. The Calibration of stock option
  pricing models using inverse problem methodology

  Solve the problem

        -div( grad ( u(x,y) ) ) = f
        Dirichlet Boundary conditions.
</pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00038">38</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac585dea79f7256fefec51c716bce4ec1"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::__init__" ref="ac585dea79f7256fefec51c716bce4ec1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">instantiate object of type Poisson2D. </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00081">81</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_dx</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_dy</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00140">m_eng_ready</a>, <a class="el" href="Quadrature_8py_source.html#l00183">utils::Quadrature::TransformedQuadrature1D::m_left</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_load_len</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_ltype</a>, <a class="el" href="Quadrature_8py_source.html#l00183">utils::Quadrature::TransformedQuadrature1D::m_right</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vbott</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vleft</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vright</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vtop</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_xgrid</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_ygrid</a>, and <a class="el" href="Grid_8py_source.html#l00033">utils::Grid::Grid::m_ymax</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aae114553f4e217ff95716e0c06d11765"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::discretize" ref="aae114553f4e217ff95716e0c06d11765" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::discretize </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">discretize pde </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00285">285</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00254">__assemble_matrix()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00234">__assemble_rhs()</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">set_up_engine()</a>.</p>

<p>Referenced by <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00319">solve()</a>.</p>

</div>
</div>
<a class="anchor" id="ad7c9f2390b43834f93c89e6284253e9b"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_discretized_bc" ref="ad7c9f2390b43834f93c89e6284253e9b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_discretized_bc </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">returns dirichlet bc as vectors. </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00296">296</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vbott</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vleft</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vright</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vtop</a>.</p>

</div>
</div>
<a class="anchor" id="ac25ae4cc5647612813893dcfd98df398"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_indx_grid" ref="ac25ae4cc5647612813893dcfd98df398" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_indx_grid </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">grid to values dicrete load </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00152">152</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">set_up_engine()</a>.</p>

</div>
</div>
<a class="anchor" id="a63b57a290daf7f7f06550054aaeb8bb1"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_load" ref="a63b57a290daf7f7f06550054aaeb8bb1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_load </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get load </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00128">128</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00215">__get_load()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_xgrid</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_ygrid</a>.</p>

<p>Referenced by <a class="el" href="PIDESolver_8py_source.html#l00047">models::PIDESolver::PIDESolver::__init__()</a>.</p>

</div>
</div>
<a class="anchor" id="a562f4485376749d89cb465f7ae2a69b9"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_mesh" ref="a562f4485376749d89cb465f7ae2a69b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_mesh </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">2D grid use to solve the pde. </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00145">145</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_xgrid</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_ygrid</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">set_up_engine()</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00018">models::PIDEStatic1D::PIDEStatic1D::__init__()</a>, <a class="el" href="GBMSolverAdaptor_8py_source.html#l00194">models::GBMSolverAdaptor::GBMSolverAdaptor::get_price_history()</a>, and <a class="el" href="GBMSolverAdaptor_8py_source.html#l00095">models::GBMSolverAdaptor::GBMSolverAdaptor::set_option_cos()</a>.</p>

</div>
</div>
<a class="anchor" id="a2971e70feab948ffa2c573ce1fe6ac31"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_rhs" ref="a2971e70feab948ffa2c573ce1fe6ac31" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::get_rhs </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get right hand side </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00291">291</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00234">__assemble_rhs()</a>.</p>

</div>
</div>
<a class="anchor" id="aba3d4b76d9c7f15f9f4193a67af6bd6e"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::post_process" ref="aba3d4b76d9c7f15f9f4193a67af6bd6e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::post_process </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>nx_opts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>ny_opts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>vbott</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>vtop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>vleft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>vright</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>vsol</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">post process results </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00303">303</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>Referenced by <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00319">solve()</a>.</p>

</div>
</div>
<a class="anchor" id="a6093f1f049af7d7604a30b82482430d6"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::reset_engine" ref="a6093f1f049af7d7604a30b82482430d6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::reset_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">reset pde solver </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00140">140</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00140">m_eng_ready</a>.</p>

</div>
</div>
<a class="anchor" id="a6213e6fe184b260e108ceece27b1d74c"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_bott_top" ref="a6213e6fe184b260e108ceece27b1d74c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_bott_top </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>bott</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>top</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set bottom and top bc </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00104">104</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

</div>
</div>
<a class="anchor" id="ab271288fc08199e656dbd41ecfb736f6"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_continuos_load" ref="ab271288fc08199e656dbd41ecfb736f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_continuos_load </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>continuos_load</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">make load a function. </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">114</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_ltype</a>.</p>

</div>
</div>
<a class="anchor" id="a165b420a3eee93ce1e366cce8e7a47f7"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_discrete_load" ref="a165b420a3eee93ce1e366cce8e7a47f7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_discrete_load </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>discrete_load</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">make load a matrix. Two different interfaces are used for
    clarity.
</pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00120">120</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_ltype</a>.</p>

</div>
</div>
<a class="anchor" id="a07b2bed580699c913df804984760778d"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_dx_dy" ref="a07b2bed580699c913df804984760778d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_dx_dy </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>delta_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>delta_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set grid delta x delta y </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00109">109</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_dx</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_dy</a>.</p>

</div>
</div>
<a class="anchor" id="a5ed8a680bbc70e476a1a17ba6ae4632a"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_simu_domain" ref="a5ed8a680bbc70e476a1a17ba6ae4632a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_simu_domain </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>leftx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>botty</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rightx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>topy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set boundary conditions </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00134">134</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Grid_8py_source.html#l00033">utils::Grid::Grid::m_ymax</a>.</p>

</div>
</div>
<a class="anchor" id="a032131b3687e8715b976800f754a88a0"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_up_engine" ref="a032131b3687e8715b976800f754a88a0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_up_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get ready for solving the pde. </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">160</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00215">__get_load()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00205">_eval_continuos_load()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00210">_eval_discrete_load()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_dx</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_dy</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00140">m_eng_ready</a>, <a class="el" href="Quadrature_8py_source.html#l00183">utils::Quadrature::TransformedQuadrature1D::m_left</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_load_len</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">m_ltype</a>, <a class="el" href="Quadrature_8py_source.html#l00183">utils::Quadrature::TransformedQuadrature1D::m_right</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vbott</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vleft</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vright</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vtop</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_xgrid</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_ygrid</a>, and <a class="el" href="Grid_8py_source.html#l00033">utils::Grid::Grid::m_ymax</a>.</p>

<p>Referenced by <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00285">discretize()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00152">get_indx_grid()</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00145">get_mesh()</a>.</p>

</div>
</div>
<a class="anchor" id="a85ccb046fff0dc6fb7387306f6887d02"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_xlxr" ref="a85ccb046fff0dc6fb7387306f6887d02" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::set_xlxr </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set left and right bc </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00099">99</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="Quadrature_8py_source.html#l00183">utils::Quadrature::TransformedQuadrature1D::m_left</a>, and <a class="el" href="Quadrature_8py_source.html#l00183">utils::Quadrature::TransformedQuadrature1D::m_right</a>.</p>

</div>
</div>
<a class="anchor" id="a4ab69dead9d4d01010641193e3bb5699"></a><!-- doxytag: member="models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::solve" ref="a4ab69dead9d4d01010641193e3bb5699" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::solve </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">discretize and solve pde </pre></div> 
<p>Definition at line <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00319">319</a> of file <a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a>.</p>

<p>References <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00221">models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::discretize()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00285">discretize()</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vbott</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vleft</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vright</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_vtop</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_xgrid</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00160">m_ygrid</a>, and <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00303">post_process()</a>.</p>

<p>Referenced by <a class="el" href="NumericalOptionGBM_8py_source.html#l00058">models::NumericalOptionGBM::NumericalOptionGBM::set_contract_type()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Poisson2DFiniteDifference_8py_source.html">Poisson2DFiniteDifference.py</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 22 2011 05:17:54 for OptionsPricing by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
